﻿Public Class Hotels
    Inherits System.Web.UI.Page

    Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
        If User.IsInRole("Superuser") Then
            ph_Superuser.Visible = True
        Else
            ph_Superuser.Visible = False

        End If

    End Sub
    Protected Function getStars(ByVal stars As Integer)
        Dim retVal As String
        retVal = ""
        For i = 1 To stars
            retVal = retVal + "*"
        Next
        Return retVal
    End Function
End Class